import 'package:freezed_annotation/freezed_annotation.dart';

part 'shortcuts_model.freezed.dart';
part 'shortcuts_model.g.dart';

@freezed
abstract class ShortcutsModel with _$ShortcutsModel {
  const factory ShortcutsModel({
    required String? id,
    required String? type,
    required String? title,
    required String? path,
    required String? icon,
    @Default(false) bool isHighlighted,
  }) = _ShortcutsModel;

  factory ShortcutsModel.fromJson(Map<String, dynamic> json) =>
      _$ShortcutsModelFromJson(json);
}
